package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ding
 * @since 2022-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order_bigcommerce_shipaddress")
public class OrderBigcommerceShipaddressDo extends Model<OrderBigcommerceShipaddressDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("order_id")
    private Long orderId;

    @TableField("shipping_id")
    private Long shippingId;

    @TableField("shipping_name")
    private String shippingName;

    @TableField("shipping_company")
    private String shippingCompany;

    @TableField("shipping_address_1")
    private String shippingAddress1;

    @TableField("shipping_address_2")
    private String shippingAddress2;

    @TableField("shipping_city")
    private String shippingCity;

    @TableField("shipping_state")
    private String shippingState;

    @TableField("shipping_zip")
    private String shippingZip;

    @TableField("shipping_country")
    private String shippingCountry;

    @TableField("shipping_phone")
    private String shippingPhone;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
